<template>
	<div id="app"> 
			<router-view> </router-view> 
	</div>
</template>

<script>
	export default {
		name: 'app',
		components: {},
		data() {
			return {
				 
			}
		},
		mounted() {
			//获取店铺ID
			this.$http.get("/GroupBuy/GetShop").then((res) => {  
				if(res.data.code==1) {
					this.$store.state.shopId=res.data.data.ShopId
					console.log(res.data.data.ShopId);
				}else{
					 
				}
			}).catch((err) => {
				console.log(err)
			});  
		}, 
	}
</script>

<style>  
/* /*
.slide-left-enter-active {
  transition: all .3s ease;
}
.slide-left-leave-active {
  transition: all .3s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}
.slide-left-enter, .slide-left-leave-to{
  transform: translateX(100%);
  opacity: 0;
}*/
</style>